home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
ramsave.zip
/
RAMSAVE.DOC
< prev
next >
Wrap
Text File
|
1992-02-22
|
8KB
|
184 lines
Ramdisk Saver ver 1.1 ShareWare Version.
(c)1993 by TPA Electronics and Software, All Rights Reserved.
-----------------------------------------------------------------------
Ramdisk Saver is distributed as SHAREWARE. If you use and like this
program you are encourage to register and recieve your own copy.
It may be distributed as long as all files are included intact.
-----------------------------------------------------------------------
Ramdisk Saver copies all the files from the ram disk to a temporary
directory on your hard drive or floppy before rebooting when
CTRL-ALT-DEL is pressed. It also does the same when int 19h is used to
reboot the computer. (see the programming notes.) The contents of the
ram disk can then be restored after reboot.
Ramdisk Saver was written because after some fairly extensive
research no method of rebooting a PC without destroying the contents
of memory was found. Thus explaining why no ram disks that can
survive a reboot like those on Amiga, Mac, and Atari ST's has
ever been written. (To my knowledge.) Thus Ramdisk Saver was written
as a not so elegant solution, allowing a pseudo-recoverable ram disk.
-----------------------------------------------------------------------
Ramdisk Save:
RAMSAVE (ram disk) (temporary directory)
This is the resident portion of the program. It is the
part that copies the files from the ram disk to the
temporary directory when CTRL-ALT-DEL is pressed (or int 19h
is called.) The shareware version copies directory trees
up to 3 levels deep and requires a little more than 3K of
memory. It will not copy files from a drive to a directory
on the same drive or visa versa to prevent serious problems.
Invoking RAMSAVE a second time will remove it from memory.
If RAMSAVE is not the last program loaded and you try to
remove it may cause problems.
You must specify the full path name when running RAMSAVE.
RAMSAVE also attempts to close all open files and flush all
buffers and caches before rebooting.
Examples: RAMDISK E:\ C:\TEMP
-This will copy all files on drive E:\ to C:\TEMP
and preserves the directory sturcture.
RAMDISK F:\ C:\
-This will copy all files of drive F:\ to C:\
and preserves the directory sturcture.
This will copy to the root directory of drive C
Ramdisk Restore:
RAMREST (ram disk) (temporary directory)
This resores the entire directory tree from the temporary
directory to the ramdisk. The shareware version copies
directory trees up to 3 levels deep. You cannot copy from
a drive to a directory on the same drive or visa versa.
Examples: RAMREST E:\ C:\TEMP
-This copies all files under C:\TEMP to E:\
and preserves the directory structure.
Reboot replacement for int 19h:
RAMBOOT
This installs a resident reboot routing requireing 144 bytes
of memory. You do not need to run this to use RAMSAVE.
RAMSAVE has this function built in. This program is included
so timed reboot programs etc. written to be used with RAMSAVE
can be used without needing RAMSAVE, and for those who wish
to use such programs and do not need RAMSAVE. (See the
programming notes.) There are no command line options.
If run after RAMSAVE it will disable calling RAMSAVE with
int 19h. Running RAMSAVE after RAMBOOT will disable the
effects of RAMBOOT.
Reboot using int 19h:
REBOOTR
This tremendously large program (a whole 2 bytes) will call
int 19h which will reboot the computer without copying the
files from the ramdisk if RAMBOOT is loaded, and will copy
the files from the ram disk and reboot if RAMSAVE is loaded.
-----------------------------------------------------------------------
Registration benefits:
The registered version:
- Saves directory trees up to 10 levels deep.
- Displaying of files being copied is optional.
- RAMSAVE is much smaller requireing less than 2K of memory,
or you may increast the size of RAMSAVE over 2K for faster
backup.
- The resident size of RAMSAVE can be increased to allow
faster copying of the ramdisk.
- Command line options allowing deinstallation and changing
of ramdisk and temporary directory paths without deinstalling
will be implimented.
- RAMREST has a much faster copy restore.
- Optional removal of restored files. (ie. files are moved
during restoration instead of being copied)
- You recieve a personalized registered copy with the
shareware notice removed.
- You recieve the newest version.
-----------------------------------------------------------------------
Disclamer: (the standard #include disclamer.h)
Ramdisk saver is distributed without waranty, expressed or implied.
It has been tested thoughly, however it is impossible to test every
configuration on every system. The user assumes full risk as to the
results of using this program. in no event will the author or
TPA Electronics and Softwarz be liable any incidental or consequentail
damages caused by the use of this program. Any liablility will be
limited exclusively to replacement of the program in the same form.
-----------------------------------------------------------------------
Programing Notes:
RAMSAVE also intercepts int 19h. This is the standard DOS bootstrap.
Normally int 19h is not a safe method of rebooting the computer, I've seen
many problems doing so. However, RAMSAVE intercepts int 19h, trys to
copy all files from the ram disk and reboots in a safe manner. Simply put,
when RAMSAVE is loaded int 19h will reboot the computer. So for those
of you writeing programs that reboot at a specific time, after so many rings
(modem), etc. you can use int 19h to safely reboot the computer and copy
all files from the ramdisk. RAMBOOT is included to intercept int 19h and
reboot safely without requireing RAMSAVE. (However RAMBOOT does not
copy the files from the ram disk.)
You may distribute RAMBOOT.COM as freeware with your programs. You
may distribute the shareware version of RAMSAVE only if all the files
are included intact.
-----------------------------------------------------------------------
Ordering information:
Cost: Includes shipping.
private use - $6
organizational, company or site license - $15
Internet discount:
If you have an e-mail address and can UUDecode and unzip
the archive I will mail you the program in a UUEncoded zip
archive at a discount.
Discount price: private use - $4
organizational etc. - $10
To order the registered version send:
Check of money order payable to Tim Arheit.
E-mail address if you wish to recieve the program by e-mail.
Name and address where to send the program.
Size of disk (5.25" or 3.5") to send program on.
Name of person, company, or organization to register
program to as you want it to appear.
To: Tim Arheit <- make checks/money order payable to.
2701 Allentown Rd.
Lima, OH 45805
Notes:
Money order is prefered. If a check is sent it must be cleared
before the program is sent.
The program will not be registered to a company or organization
for the private use cost.
For orders from outside the US and Canada add $2 unless the
program is to be sent via e-mail.
Checks and Money orders must be in US dollars.
-----------------------------------------------------------------------
Thanks to Wes Hsu for beta testing RAMSAVE for me.
Send bug reports and suggestions to the above address or by e-mail
to: tarheit@jupiter.cse.utoledo.edu